﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="JDFMovieByTags.aspx.vb" Inherits="JohnnyDepp.JDFMovieByTags" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" 
        DataSourceID="TagsSqlDataSource">
        <Columns>
            <asp:BoundField DataField="Movie_Name" HeaderText="Movie_Name" 
                SortExpression="Movie_Name" />
        </Columns>
    </asp:GridView>
    <asp:SqlDataSource ID="TagsSqlDataSource" runat="server" 
        ConnectionString="<%$ ConnectionStrings:JDFanConnectionString %>" 
        ProviderName="<%$ ConnectionStrings:JDFanConnectionString.ProviderName %>" 
        SelectCommand="SELECT [Movie_Name], [TagName] FROM [JDFTagView] WHERE ([TagName] = ?)">
        <SelectParameters>
            <asp:QueryStringParameter Name="TagName" QueryStringField="TagName" 
                Type="String" />
        </SelectParameters>
    </asp:SqlDataSource>
    <p>
        &nbsp;</p>
</asp:Content>
